package com.qfedu.dao;

import com.qfedu.dto.StudentGrade;
import com.qfedu.entity.Student;

import java.util.List;

/**
 * projectName: backStage
 * author: CGY
 * time: 2020/9/29 16:42
 * description:
 */
public interface StudentDao {
    void insertStudentOne(Student student);//添加学生信息

    int selectIdByName(String name); // 根据name查询学生的id

    List<StudentGrade> selectStuAndGrade();  // 班级和人数的图表
}
